import { Color, Vector4 } from "../util";
import { Component } from "./Component";

export class Progress extends Component {
    /**
     * 基础属性
     */
    //Progress类型
    public type = 5
    public uid = "985b5f12-31c9-4165-b12a-119c2c97f930"
    //名称
    public name = "progress_2"

    //进度条样式 0环形 1条形
    public progress_type: number
    //当前值 默认50
    public current_value: number
    //最大值 默认100
    public max_value: number
    //是否翻转 默认false
    public reverse: boolean

    //进度条图片
    public image: number
    //背景图片
    public bg_image: number
    //是否开启九宫格缩放
    public is_scale9_enable: false
    //图片缩放
    public cap_insets: Vector4
    //背景缩放
    public background_cap_insets: Vector4


    //颜色填充
    public color: Color
    //背景颜色
    public bg_color: Color
}